#include "util.h"
#include "utilc.h"
#include "easylog.h"
#include "pushmq.h"
#include "easymqproducer.h"
#include <sstream>

namespace PushMq {

    CEasyMqProducer        _mqCarPass;

    bool Init() {
        _mqCarPass.load("DstMq");
        return true;
    }

    bool Push(EventInfo *e) {
        _mqCarPass.produce(e->makeMqMsg());
        return true;
    }

};